import {SAVE_ALLELIC_BOUNDARY, SAVE_ALLELIC_OPTION, SAVE_ALLELIC_OPTION2, SAVE_ALLELIC_SETTING, SAVE_ALLELIC_TABLE_DATA, SAVE_ALLELIC_TABLE_WELL, SAVE_ANGLE_ARR, SAVE_DEGREE} from "./constants";

export const saveAllelicTableWell = allelicTableWell => ({
  type: SAVE_ALLELIC_TABLE_WELL,
  allelicTableWell
});

export const saveAllelicSetting = allelicSetting => ({
  type: SAVE_ALLELIC_SETTING,
  allelicSetting
});

export const saveAllelicOption = allelicOption => ({
  type: SAVE_ALLELIC_OPTION,
  allelicOption
});

export const saveAllelicOption2 = allelicOption2 => ({
  type: SAVE_ALLELIC_OPTION2,
  allelicOption2
});

export const saveAngleArr = angleArr => ({
  type: SAVE_ANGLE_ARR,
  angleArr
});

export const saveAllelicBoundary = allelicBoundary => ({
  type: SAVE_ALLELIC_BOUNDARY,
  allelicBoundary
});

export const saveAllelicTableData = allelicTableData => ({
  type: SAVE_ALLELIC_TABLE_DATA,
  allelicTableData
});

export const saveDegree = degree => ({
  type: SAVE_DEGREE,
  degree
});
